<!--左边栏-->
<div id="sidebar" class="sidebar">
<div id="innerSidebar">
  	<!--如果用户已登录、则显示用户登录信息-->
  
  <div id="panel_user" class="panel" <{if $islogin!=1}>style="display:none"<{/if}>>
	<{$usermenu}>
  </div>
	<!--如果用户未登录，则显示登录信息，默认此DIV为不显示，用户点击登录才显示-->
  <div id="panelUser" class="panel" style="display: none">
  <h5>用户登录</h5>
  <div class="panel-content">
    <div id="loginForm">
    <{if $islogin!=1}>
    <form name="login" id="login" method="post" action="javascript:void(null);" onsubmit="return userLogin();">
    <table cellpadding="0" cellspacing="2" width="100%">
      <tr>
        <td align="right">用户名:</td>
        <td><input name="username" type="text" size="12" maxlength="24" class="text" />
        </td>
      </tr>
      <tr>
        <td align="right">密码:</td>
        <td><input name="password" type="password" size="12" maxlength="16" class="text" /></td>
      </tr>
      <!--如果启用验证码-->
      <tr>
        <td align="right">验证码:</td>
        <td><input name="authnum" size="5" maxlength="5" type="text" class="text" />
        <script>document.write("<s"+"cript src='/<{$virdir}>include/makecode.php?id=1' type='text/javascript' language='javascript'></s"+"cript>")</script>
        </td>
      </tr>
      <!--如果启用验证码结束-->
      <tr>
        <td align="center">
		<!--如果允许注册-->
        <a href="/<{$virdir}>reg.php" style="text-decoration: underline; color: #666666;">注册</a>
        <!--如果允许注册结束-->
        </td>
        <td>
        <input name="Loginbtn" type="submit" value="  登录  " class="button" />
        </td>
      </tr>
    </table>
    </form>
    <{/if}>
    </div>
  </div>
  </div>
	<!--用户登录与显示结束-->
	<!--显示所有分类-->
  <div id="panelCategory" class="panel">
  <h5>文章分类</h5>
  <div id="panelCategoryContent" class="panel-content">
  <ul>
  <li><a href="default.asp"><b>首页</b></a></li>
	<li><{$loading}></li>
  </ul>
  </div>
  </div>
	<!--分类结束-->
	<!--日历-->
  <div id="panelCalendar" class="panel">
  <h5>日历</h5>
  <li>显示日历信息</li>
  </div>

  <div id="panelArticle" class="panel">
  <h5>最新发表</h5>
  <div id="panelArticleContent" class="panel-content">
  <ul>
	<li><{$loading}></li>
  </ul>
  </div>
  </div>
	<!--日历结束-->
	<!--最新回复-->
  <div id="panelComment" class="panel">
  <h5>文章回复列表</h5>
  <div id="panelCommentContent" class="panel-content">
  <ul>
  <li><{$loading}></li>
  </ul>
  </div>
  </div>
	<!--最新回复结束-->
	<!--搜索-->
  <div id="panelSearch" class="panel">
  <h5>搜索</h5>
  <div class="panel-content">
		<form name="searchForm" method="post" action="" onSubmit="return doSearch();">
		<input name="search" type="text" id="search" class="text search-field" />
		<select name="searchType">
			<option value="articles">文章</option>
			<option value="comments">回复</option>
			<option value="guestbook">留言版</option>
			<option value="trackbacks"><%=lang["trackbacks"]%></option>
		</select>
		<input name="submit" type="submit" id="submit" value=" 搜索 " class="button" />
		</form>
  </div>
  </div>
	<!--搜索结束-->
	<!--统计-->
  <div id="panelStats" class="panel">
  <h5>统计</h5>
  <div class="panel-content">
  <div id="panelStatsContent">
    <li>文章: 123<br /></li>
    <li><a href="comment.asp">回复: 3231</a></li>
    <li><a href="trackback.asp?act=list">不明物: 33</a></li>
    <li><a href="user.asp">注册用户:  556</a></li>
    <li><a href="stats.asp" target="_blank">访问数:  21231</a></li>
    <li>在线用户: 44 </li>
   </div> 
	
    <a href="feed.asp" title="文章的RSS" target="_blank"><img src="/<{$virdir}>styles/default/images/rss_article.png" class="meta-button" alt="文章的RSS" /></a><br />
    <a href="feed.asp?selected=true" title="推荐的RSS" target="_blank"><img src="/<{$virdir}>styles/default/images/rss_selected.png" class="meta-button" alt="推荐的RSS" /></a><br />
    <a href="feed.asp?q=comment" title="回复的RSS" target="_blank"><img src="/<{$virdir}>styles/default/images/rss_comment.png" class="meta-button" alt="回复的RSS" /></a><br />
    <a href="http://www.unicode.org/" title="Unicode.org" target="_blank"><img src="/<{$virdir}>styles/default/images/utf8.png" class="meta-button" alt="Unicode Encoding" /></a><br />
    <a href="http://creativecommons.org/licenses/by-nc-sa/1.0/" title="Creative Commons Licensed" target="_blank"><img src="/<{$virdir}>styles/default/images/cc.png" class="meta-button" alt="Creative Commons Licensed" /></a><br />
    <a href="http://www.voidland.com/" title="Powered by LBS" target="_blank"><img src="/<{$virdir}>styles/default/images/lbs.png" class="meta-button" alt="Powered by LBS" /></a><br />
  	
  </div>
  </div>

	<!--统计结束-->
	<!--友情连接-->
  <div id="panelLinks" class="panel">
  <h5>友情连接</h5>
  <div id="panelLinksContent" class="panel-content">
    此处显示友情连接信息<br />
	此处显示友情连接信息<br />
	此处显示友情连接信息<br />
	此处显示友情连接信息<br />
  </div>
  </div>

	<!--友情连接结束-->
</div>
</div>

<!--左边栏结束-->
<div class="clear"></div>
</div>
